package cn.edu.sjtu.stap.cfg.internal;

import org.aspectj.org.eclipse.jdt.internal.compiler.ast.*;

/**
 * Prevent the compiler from cleaning up the information of AST.
 * 
 * @author William
 * 
 */
public privileged aspect AstManipulator {
    pointcut astCleaner() : execution(* CompilationUnitDeclaration.cleanUp(..));

    void around() : astCleaner() {
        // Do not clean up the AST info.
    }
}
